package Day25;

import org.w3c.dom.html.HTMLObjectElement;

public class Employee {
    public static void main(String[] args) {
        Child child1 = new Child("白骨精");
        Child child2 = new Child("狐狸精");
        Child child3 = new Child("老鼠精");

    }
}


class Child{
    private String name;

    public Child(String name) {
        this.name = name;
    }
    public void join(){
        System.out.println(name + "， 加入了游戏");
    }
}
